package com.jk.smartelderlycare.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ToString
@TableName(value = "sys_user")
public class SysUser implements Serializable {

    private static final long serialVersionUID = 4203600260901279924L;

    @TableId(value = "user_id",type = IdType.AUTO)
    private Long userId;

    private Long employeeNum;

    private String userName;

    private String phone;

    private String password;

    private String imageUrl;

    private String status;

    private Date createDate;

    private String remark;

    private String modifyUser;

    private Date modifyDate;


    @TableField(exist = false)
    private String RoleNames;//查询角色集合

    @TableField(exist = false)
    private Long seaRoleId; //条查角色信息id
    @TableField(exist = false)
    private String addPassword;



    @TableField(exist = false)
    private String startDate;//开始时间
    @TableField(exist = false)
    private String endDate;//结束时间

    @TableField(exist = false)
    private List<Long> roleIds;//新增多个角色id(新增修改)

    @TableField(exist = false)
    private String strRole;//数据库角色编号(回显使用)


}